package edu.stanford.bmir.protege.web.server.transform.service;

import java.util.HashMap;
import java.util.Map;

import org.semanticweb.owlapi.model.IRI;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
    	String path = "c:/newData.txt";
    	
    	//String path = "d:/iso25964-1_example.xml";
    	
    	IRI projectIRI = IRI.create( "http://webprotege.stanford.edu/project/BExSAIqNqlGhkpTMMw3zGA" );
    	
    	Map<String,String> pros = new HashMap<String,String>();
       	pros.put( "BT" , StringWord.SUBCLASSOF);
    	pros.put( "RT" , StringWord.OBJECTPROPERTY);
    	pros.put( "SN" , StringWord.DATAPROPERTY);
    	pros.put( "TNR" , StringWord.DATAPROPERTY);
    	pros.put( "DDC" , StringWord.DATAPROPERTY);
    	pros.put( "UF" , StringWord.LABEL);
    	
    /*	pros.put( StringWord.SIMPLENONPREFERREDTERM , StringWord.OBJECTPROPERTY);
    	pros.put( StringWord.CUSTOMNOTE , StringWord.DATAPROPERTY);
    	
    	pros.put( "DDC" , StringWord.DATAPROPERTY);
    	pros.put( "相关" , StringWord.OBJECTPROPERTY);
    	pros.put( "BT" , StringWord.SUBCLASSOF);*/
    	
    	new CreateOwlService( path,pros, projectIRI).getOWLPath();
    	
    }
}
